<?php include('_tpl_header.php'); ?>
<div class="box">
  <div class="left">
    <div class="leftad">
     <?php include('_tpl_mod_hot.php'); ?>
    </div>
  </div>
  <div class="right">
<div><img src="/data/images/righttop01.gif" width="724" height="18" /></div>
<div class="box2">
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="5">
  <form action="/api/login" method="POST" id="formLogin">
    <tr>
      <td height="44" colspan="2" class="line01"><img src="/data/images/icon01.gif" width="14" height="16" align="absmiddle" /> &nbsp;<strong><?php echo $L['pLoginTitle'] ?></strong></td>
    </tr>
    <tr>
      <td height="15" align="right">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td width="250" height="35" align="right"><?php echo $L['pLoginItemUsername'] ?>:<br /></td>
      <td><input name="username" type="text" class="input01" id="iptUsername" /> <span id='alert_username' class="red"><?php if($e=='uname'){echo $L['login_uname'];} ?></span></td>
    </tr>
    <tr>
      <td height="35" align="right"><?php echo $L['pLoginItemPassword'] ?>:</td>
      <td><input name="password" type="password" class="input01" id="iptPassword" /> <span id='alert_password' class="red"><?php if($e=='pw'){echo $L['login_pw'];} ?></span></td>
    </tr>
    <tr style="display:<?php echo $isNeedVcode ? '' : 'none'; ?>" id="trVcode">
      <td height="35" align="right"><?php echo $L['pApplyIptVcode'] ?>:</td>
      <td><input name="vcode" type="text" class="input01" id="iptVcode" /> 
              <a src="#" onclick="return false;" id="img_vcode"><img src="/vcode" align="absmiddle" />　<a href="#" id="aReVcode" ><?php echo $L['gLink_ReVcode']; ?></a> <span id='alert_vcode' class="red"><?php if($e=='vcode'){echo $L['login_vcode'];} ?></span></td>
    </tr>
    <tr>
      <td height="55">&nbsp;</td>
      <td>
      <a href="javascript:document.getElementById('formLogin').submit();" class="button01"><?php echo $L['pLoginTitle'] ?></a>
          <a href="/apply" class="button01"><?php echo $L['pLoginLinkApply'] ?></a><span class="red" id="altLogin"><?php if($e=='deny'){echo $L['login_deny'];} ?></span></td>
    </tr>
  </table>
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="5">
  <tr><td class="line01" height="44" colspan="2"><img src="/data/images/icon01.gif" width="14" height="16" align="absmiddle" /> &nbsp;<strong><?php echo $L['pLoginNotice'] ?></strong></td></tr>
  <tr>
  <td valign="top" style="padding:10px"><?php echo $notice['notice']; ?></td>
  <td width="10%" style="padding:10px"><img src="/data/notice.jpg?<?php echo time(); ?>"/></td>
  </tr>
  </form>
  </table>
  <div class="clear"></div>
</div>
<div><img src="/data/images/rightbottom01.gif" width="724" height="13" /></div>    
</div>
<div class="clear"></div>
<div><img src="/data/images/bottom.gif" width="1001" height="19" /></div>
</div>
<?php include('_tpl_footer.php'); ?>